package com.webbei.HAO.dao;

import java.util.List;

import com.webbei.pojo.Brands;
import com.webbei.pojo.Carseries;
import com.webbei.pojo.Cartypes;
import com.webbei.pojo.Customer;
import com.webbei.pojo.LoveCar;

public interface ChDao {
	public Customer cus(int id);
    public List<Brands>list();
    public List<Carseries>carlist(int id);
    public List<Customer>cuslist();
    public boolean update(int userid,String username,String realname, String file, String sex, String provaice, String city,String address, String telphone, String phone);
    public void createfile(String userpath);
    public int getUidbyEmail(String mail);
   
    public boolean register(String mail,String password,String uname,String userface);
    public String getMailbyUid(int id);
    public String getPwdbyUid(int id);
    public boolean updatePwdbyEmail(String mail,String pwd);
    public boolean updatePwdbyId(int id,String pwd);
    public int customercheck(String email);
    public int customercheck2(String name);
    public String getPwdByMail(String mail);
    public List<Cartypes>cartypeNamelist(String seriesName);
    
    public int insertLovercar(int userid,String carPic);
    public int insertcuslimit(String uname);
    public LoveCar getOnecus();
}
